package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;


/**
 * @ApiModel  描述返回对象的意义
 * @ApiModelProperty  对象属性
 */
@Data
@Getter
@Setter
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;


    private Integer pid;



    private String path;



    private String component;



    private String title;



    private String icon;


    private Integer is_show;



    private Integer is_cache;



    private Integer is_link;



    private String redirect;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime create_date;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime update_date;



    private Integer del_flag;



    private Integer type;



    private BigDecimal sort;


    private String mark;



    private String default_data;
}
